package com.baomidou.mybatisplus.samples.quickstart.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author keyer
 * @Description : 描述
 * Created by cyd on 2021-03-02 11:36:53
 */
@Data
@TableName(value = "mp_emp")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class Emp extends Model<Emp> {
    private String id;
    private String name;
    private String depId;
    @TableField(exist = false)
    private Dep dep;
}
